<?php
$CI =& get_instance();
$module = $CI->router->class;  
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?php echo $page_title ?></title>
	
    <link rel="stylesheet" type="text/css" href="<?php echo $static_url ?>style/reset.css" /> 
    <link rel="stylesheet" type="text/css" href="<?php echo $static_url ?>style/root.css" /> 
    <link rel="stylesheet" type="text/css" href="<?php echo $static_url ?>style/grid.css" /> 
    <link rel="stylesheet" type="text/css" href="<?php echo $static_url ?>style/typography.css" /> 
    <link rel="stylesheet" type="text/css" href="<?php echo $static_url ?>style/jquery-ui.css" />
    <link rel="stylesheet" type="text/css" href="<?php echo $static_url ?>style/jquery-plugin-base.css" />
    
    <!--[if IE 7]>	  <link rel="stylesheet" type="text/css" href="<?php echo $static_url ?>style/ie7-style.css" />	<![endif]-->
    
	<script type="text/javascript" src="<?php echo $static_url ?>js/jquery.min.js"></script>
	<script type="text/javascript" src="<?php echo $static_url ?>js/jquery-ui-1.8.11.custom.min.js"></script>
	<script type="text/javascript" src="<?php echo $static_url ?>js/jquery-settings.js"></script>
	<script type="text/javascript" src="<?php echo $static_url ?>js/toogle.js"></script>
	<script type="text/javascript" src="<?php echo $static_url ?>js/jquery.tipsy.js"></script>
	<script type="text/javascript" src="<?php echo $static_url ?>js/jquery.uniform.min.js"></script>
	<script type="text/javascript" src="<?php echo $static_url ?>js/jquery.wysiwyg.js"></script>
	<script type="text/javascript" src="<?php echo $static_url ?>js/jquery.tablesorter.min.js"></script>
	<script type="text/javascript" src="<?php echo $static_url ?>js/raphael.js"></script>
	<script type="text/javascript" src="<?php echo $static_url ?>js/analytics.js"></script>
	<script type="text/javascript" src="<?php echo $static_url ?>js/popup.js"></script>
	<script type="text/javascript" src="<?php echo $static_url ?>js/fullcalendar.min.js"></script>
	<script type="text/javascript" src="<?php echo $static_url ?>js/jquery.prettyPhoto.js"></script>
	<script type="text/javascript" src="<?php echo $static_url ?>js/jquery.ui.core.js"></script>
	<script type="text/javascript" src="<?php echo $static_url ?>js/jquery.ui.mouse.js"></script>
	<script type="text/javascript" src="<?php echo $static_url ?>js/jquery.ui.widget.js"></script>
	<script type="text/javascript" src="<?php echo $static_url ?>js/jquery.ui.slider.js"></script>
	<script type="text/javascript" src="<?php echo $static_url ?>js/jquery.ui.datepicker.js"></script>
	<script type="text/javascript" src="<?php echo $static_url ?>js/jquery.ui.tabs.js"></script>
	<script type="text/javascript" src="<?php echo $static_url ?>js/jquery.ui.accordion.js"></script>
	<script type="text/javascript" src="https://www.google.com/jsapi"></script>
	<script type="text/javascript" src="<?php echo $static_url ?>js/jquery.dataTables.js"></script>
      <style>#stats{display:block;}</style>          
    
</head>
<body>




<!--<div style="position:fixed; left:0;box-shadow:0px 1px 2px #D6D6D6; top:200px; background:#fff; border:1px solid #D6D6D6;  border-bottom-right-radius: 11px;   border-top-right-radius: 11px;border-left:none; color:#5594C2; font-size:11px; font-weight:bold; padding:19px; text-align:center;">
	<div style="border-bottom:1px solid #D6D6D6; padding-bottom:9px; margin-bottom:10px;"><img src="mobile/slidenormal/monologo.png" width="63" height="21" alt="img"/></div>
    <div style="border-bottom:1px solid #E3E3E3; padding-bottom:9px;">view style</div><br />
	<a href="index.html" class="tips-right" title="View Cupcake Web" style="display:block; margin-bottom:10px;"><img src="mobile/slidenormal/web.png" width="70" height="72" alt="img"/></a>
	<a href="mobile/index.html" class="tips-right" title="View Cupcake Mobile" style="display:block;"><img src="mobile/slidenormal/mobile.png" width="70" height="72" alt="img"/></a>
</div>-->

<div class="wrapper">




	<!-- START HEADER -->
    <div id="header">
    
    
    	<!-- logo -->
    	<div class="logo">	<a href="index.html"><img src="<?php echo $static_url ?>img/logo.png" width="112" height="35" alt="logo"/></a>	</div>
        
        
        <!-- notifications -->
        <div id="notifications">
        	<!--<a href="index.html" class="qbutton-left"><img src="<?php echo $static_url ?>img/icons/header/dashboard.png" width="16" height="15" alt="dashboard" /></a>
        	<a href="#" class="qbutton-normal tips"><img src="<?php echo $static_url ?>img/icons/header/message.png" width="19" height="13" alt="message" /> <span class="qballon">23</span> </a>
        	<a href="#" class="qbutton-right"><img src="<?php echo $static_url ?>img/icons/header/support.png" width="19" height="13" alt="support" /> <span class="qballon">8</span> </a>-->
          <div class="clear"></div>
        </div>
        
        
        <!-- quick menu -->
        <!--<div id="quickmenu" style="position:relative">
        	<a href="javascript:void(0);" id="btnpicker" class="qbutton-left tips" title="Report by specify date"><img src="<?php echo $static_url ?>img/icons/sidemenu/calendar.png" width="16" height="16" alt="new post" /></a>
			<div id="datepicker" style="position:absolute; top:65px; left:0px;display:none"></div>
			<script language="javascript" type="text/javascript">
			function reportByDate(dateText, inst){
				alert(dateText);
			}
			$("#btnpicker").click(function(){
				$("#datepicker").datepicker({
				closeText: "X",
				showOn: "both",
				showButtonPanel: true,
				maxDate: "+0d",
				dateFormat: "yy-mm-dd",
				onSelect: function(dateText, inst){location.href='<?php echo $base_url ?>/home/index?date='+dateText;}
				}).toggle();
			});
			</script>
        	<a id="open-stats" href="#" class="qbutton-right tips" title="Statistics"><img src="<?php echo $static_url ?>img/icons/header/graph.png" width="17" height="15" alt="graph" /></a>
            <div class="clear"></div>
        </div>-->
        
        
        <!-- profile box -->
        <div id="profilebox">
        	<a href="#" class="display">
            	<img src="<?php echo $static_url ?>img/simple-profile-img.jpg" width="33" height="33" alt="profile"/>	<b>Tài khoản</b>	<span><?php echo $currentUser ?></span>
            </a>
            
            <div class="profilemenu">
            	<ul>
                	<li><a href="<?php echo $base_url; ?>/website/logout">Thoát</a></li>
                </ul>
            </div>
            
        </div>
        
        
        <div class="clear"></div>
    </div>
    <!-- END HEADER -->
    
    
    
    
    
    
    
    
    
    <!-- START MAIN -->
    <div id="main">
    
		
        
        
        
        <!-- START SIDEBAR -->
        <div id="sidebar">
        	
            <!-- start searchbox -->
            <div id="searchbox">
            	<div class="in">
               	  <form id="form1" name="form1" method="get" action="<?php echo $base_url ?>/user">
                  	<input name="s" type="text" class="input" id="textfield" onfocus="$(this).attr('class','input-hover')" onblur="$(this).attr('class','input')" title="Find user"  />
               	  </form>
            	</div>
            </div>
            <!-- end searchbox -->
            
            <!-- start sidemenu -->
            <div id="sidemenu">
            	<ul>
                	<li<?php if($module == 'website') echo ' class="active"'; ?>><a href="<?php echo $base_url ?>/website"><img src="<?php echo $static_url ?>img/icons/sidemenu/user.png" width="16" height="16" alt="icon"/>Tổng quan</a></li>
                    <li><a href="<?php echo $base_url ?>/website_report"><img src="<?php echo $static_url ?>img/icons/button/graph.png" width="16" height="16" alt="icon"/>Báo cáo doanh thu tháng</a></li>
                    <li><a href="<?php echo $base_url ?>/website_sms"><img src="<?php echo $static_url ?>img/icons/button/graph.png" width="16" height="16" alt="icon"/>Báo cáo số lượng SMS</a></li>
                </ul>
            </div>
            <!-- end sidemenu -->
            
        </div>
        <!-- END SIDEBAR -->
		<?php echo $page_content; ?>
    <div class="clear"></div>
    </div>
    <!-- END MAIN -->

    
    <!-- START FOOTER -->
    <div id="footer">
    	<div class="left-column">Bản quyền © 2012, Công ty Cổ phần Phát triển Dịch vụ Trực tuyến AZ</div>
        <div class="right-column">Hệ thống quản lý nội dung và báo cáo SMS.</a></div>
    </div>
    <!-- END FOOTER -->

</div>
</body>
</html>